__version__ = "$Revision: 88 $"
__date__ = "$Date: 2011-07-24 18:59:29 +0200 (So, 24 Jul 2011) $"
__lastChangedBy__ = "$Author: wolters@3sconsult.de $"
__repository__ = "$HeadURL: https://sir3spy.googlecode.com/svn/Sir3sPy/Utils/trunk/DbOraUtest.py $"

"""DbAdo DocTest.

Description
-----------
    - Function(s): doctest_DbAdo.
    - Infile doc test.
"""

def doctest_DbAdo_Driver():
    """
    >>> from Sir3sPy.Utils.Db import DbAdo
    >>> db=DbAdo('Driver={Oracle in OraClient11g_home1};Dbq=xe;Uid=myDb;Pwd=myPw')    
    >>> colNames,data=db.executeSelect('select 666 from dual')
    >>> len(colNames)
    1
    >>>
    """

def doctest_DbAdo_DSN():
    """
    >>> from Sir3sPy.Utils.Db import DbAdo
    >>> db=DbAdo('DSN=myDSN;Uid=myDb;Pwd=myPw')    
    >>> colNames,data=db.executeSelect('select 666 from dual')
    >>> len(colNames)
    1
    >>>
    """



if __name__ == "__main__":
    import doctest
    doctest.testmod()
